import {Box, Link, Typography} from "@material-ui/core";

function Copyright() {
  return (
    <div>
      <Box>
        <Typography variant="body2" color="textSecondary" align="center">
          {"© "}
          <Link color="inherit" href={"/about"} target="_blank">
            Blog
          </Link>
          {" - "}
          <Link color="inherit" href={"#"} target="_blank">
            {"小荣"}
          </Link>
          {" & "}
          <Link color="inherit" href={"#"} target="_blank">
            {"沙茶酱"}
          </Link>
        </Typography>
      </Box>
      <Typography variant="body2" color="textSecondary" align="center">
        {" 2021 - " + new Date().getFullYear()}
      </Typography>
    </div>
  )
}

export default Copyright;